package com.ly.emp.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * 是否启用-DTO
 *
 * @author jeecg
 * @Date: 2023-07-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Schema(description = "是否启用")
public class HubTeamIsEnableDTO {
    /**
     * 主键
     */
    @NotEmpty(message = "主键不能为空")
    @Schema(description = "主键")
    private String id;

    /**
     * 是否启用  是：true 否：false
     */
    @NotEmpty(message = "是否启用不能为空")
    @Schema(description = "是否启用 是：true 否：false")
    private String isEnable;

    /**
     * 类型
     */
    @Schema(description = "类型")
    private String type;
}
